package com.bsj.power.common.def.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @Description 指令收发记录枚举
 * @Author zhaoyang
 * @Date 2024/11/19 10:47
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum CmdLogEnum {

    STATE_SEND(1, "发送"),
    STATE_RECEIVE(2, "接收"),

    TYPE_PLAY(1, "打开直播"),
    TYPE_PLAY_CLOSE(2, "关闭直播"),
    TYPE_PLAY_BACK(3, "打开回放"),
    TYPE_PLAY_BACK_CLOSE(4, "关闭回放"),
    TYPE_RECORD_QUERY(5, "录像查询"),
    ;

    /**
     * 编码
     */
    private Integer code;

    /**
     * 描述
     */
    private String desc;


}
